/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package east2west.interfaces;

import east2west.dto.TourServiceDTO;
import java.util.ArrayList;

/**
 *
 * @author nguyendat
 */
public interface TourServiceInterface {

    ArrayList<TourServiceDTO> readByAl();

    ArrayList<TourServiceDTO> findByName(String tourServiceName);

    ArrayList<TourServiceDTO> findByTourServiceDto(TourServiceDTO dto);

    TourServiceDTO findById(int id);

    boolean create(TourServiceDTO dto);

    boolean update(TourServiceDTO dto);

    boolean delete(TourServiceDTO dto);

    boolean delete(int id);
}
